package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理服务对象 proxy_service
 * 
 * @author ruoyi
 * @date 2025-11-17
 */
public class ProxyService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 代理名称 */
    @Excel(name = "代理名称")
    private String proxyName;

    /** 代理域名 */
    @Excel(name = "代理域名")
    private String proxyHost;

    /** 代理端口 */
    @Excel(name = "代理端口")
    private Integer proxyPort;

    /** 备注 */
    @Excel(name = "备注")
    private String rmark;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProxyName(String proxyName) 
    {
        this.proxyName = proxyName;
    }

    public String getProxyName() 
    {
        return proxyName;
    }
    public void setProxyHost(String proxyHost) 
    {
        this.proxyHost = proxyHost;
    }

    public String getProxyHost() 
    {
        return proxyHost;
    }
    public void setProxyPort(Integer proxyPort) 
    {
        this.proxyPort = proxyPort;
    }

    public Integer getProxyPort() 
    {
        return proxyPort;
    }
    public void setRmark(String rmark) 
    {
        this.rmark = rmark;
    }

    public String getRmark() 
    {
        return rmark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proxyName", getProxyName())
            .append("proxyHost", getProxyHost())
            .append("proxyPort", getProxyPort())
            .append("rmark", getRmark())
            .toString();
    }
}
